import { Config as SSHConfig } from "node-ssh";
import { PluginFunction } from "./app";

export type Config = {
    // targets: {
    //     name: string;
    //     path: string;
    // }[];
    // ssh: {
    //     host: string;
    //     port?: number;
    //     username?: string;
    //     password?: string;
    //     privateKey?: string;
    //     path?: string;
    // };
    plugins?: ReturnType<PluginFunction>[];
    sshList: (Omit<SSHConfig, "host"> & {
        host: string;
    })[];
    uploadList: {
        host: string;
        fileList: {
            localPath: string;
            remotePath: string;
        }[];
    }[];
};
